fix!: Fix LicenseStatus response and Supportkey type#4297
Conversation
Supportkey type
Supportkey typeLicenseStatus response and Supportkey type
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4297 +/- ##
=======================================
Coverage 97.46% 97.47%
=======================================
Files 192 192
Lines 19258 19310 +52
=======================================
+ Hits 18770 18822 +52
Misses 270 270
Partials 218 218 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @s4mur4i!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.
cc: @stevehipwell - @alexandear - @zyfy29 - @Not-Dhananjay-Mishra
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
| // SupportKey is documented as string but is actual a bool. | ||
| // TODO: Remove comment after github updates schema documentation |
There was a problem hiding this comment.
This is no longer needed.
There was a problem hiding this comment.
The inline version was failing lint, so I moved it to header par, similar to licensestatus.
As I see lint output that part doesnt fail.
There was a problem hiding this comment.
We have plenty of inline comments for fields - they all passed linting. E.g.,
Lines 131 to 132 in 0eacd34
There was a problem hiding this comment.
I changed it back, Can linter be run again please.
|
@gmlewis I added a commit for fixing the lint findings. Hope it will be good like this. |
|
The linter is failing because of formatting issues. You need to run |
Ran it, commited results. |
|
Thank you, @s4mur4i and @alexandear! |
BREAKING CHANGE:
LicenseStatus.SupportKeytype changed from*stringto*boolandLicensereturn type is no longer a slice.Closes: #4296
License status response was implemented according to documentation, which is not according to actual response.
Fix:
Corrected the response
Fixed incorrect data type for SupportKey
Fixed tests